package com.jiyun.client;

import com.jiyun.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("sushelogin")
@RequestMapping("/sushelogin/user")
public interface UserClient {

    /**
     * 根据id查询实体接口
     */
    @RequestMapping("/findById")
    public User findById(@RequestParam("id") Integer id);

    @RequestMapping("findStuNum")
    public Integer findStuNum();



}
